package Pet.Management.service;

import Pet.Management.domain.entity.PetDemand;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface PetDemandService {
    
    PetDemand createPetDemand(PetDemand petDemand);
    
    PetDemand updatePetDemand(Long id, PetDemand petDemand);
    
    void deletePetDemand(Long id);
    
    PetDemand getPetDemand(Long id);
    
    Page<PetDemand> getAllPetDemands(Pageable pageable);
    
    List<PetDemand> getPetDemandsByUserId(Long userId);
    
    List<PetDemand> searchPetDemands(String petName, String petType, String petGender);

    PetDemand getDemandById(Long id);
} 